<template>
    <div>
        <input type="button" value="显示" @click="seen=!seen">
        <div v-if="seen">显示区域</div>
    </div>
    

</template>

<script>
export default {
    name:'Banner',
    data:function(){
        return{
            seen:true
        }
    },
    methods:{

    }
}
</script>

<style scoped>
    .header{
        width:960px;
        height:50px;
        background-color:red;
        margin:0 auto;
    }
    .header h2{
        margin:0px;
    }
</style>